package com.wind.cloud.common.exception;


import com.wind.cloud.common.constant.ErrorCodes;

/**
 * 校验异常
 *
 * @author
 */
public class ValidateException extends BusinessException {

    public ValidateException(String message) {
        super(ErrorCodes.VALIDATE_ERROR, message);
    }

    public ValidateException(String message, Object... params) {
        super(ErrorCodes.VALIDATE_ERROR, message, params);
    }

    public ValidateException(Integer code, String message) {
        super(code, message);
    }

    public ValidateException(Integer code, String message, Object... params) {
        super(code, message, params);
    }

}
